package com.zheng.hr.dao.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.zheng.common.base.BaseEntity;
import com.zheng.common.base.PageEntity;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author likun
 * @since 2018-04-19
 */
@TableName("hr_meeting_user")
public class HrMeetingUser extends PageEntity {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	@TableField("user_id")
	private Integer userId;
	@TableField("meeting_id")
	private Integer meetingId;
    /**
     * 是否参会
     */
	@TableField("is_join")
	private Boolean isJoin;
    /**
     * 是否迟到
     */
	@TableField("is_late")
	private Boolean isLate;
    /**
     * 会议总结
     */
	private String summary;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getMeetingId() {
		return meetingId;
	}

	public void setMeetingId(Integer meetingId) {
		this.meetingId = meetingId;
	}

	public Boolean getJoin() {
		return isJoin;
	}

	public void setJoin(Boolean isJoin) {
		this.isJoin = isJoin;
	}

	public Boolean getLate() {
		return isLate;
	}

	public void setLate(Boolean isLate) {
		this.isLate = isLate;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}
	@Override
	protected Serializable pkVal() {
		return id;
	}
	@Override
	public String toString() {
		return "HrMeetingUser{" +
			"id=" + id +
			", userId=" + userId +
			", meetingId=" + meetingId +
			", isJoin=" + isJoin +
			", isLate=" + isLate +
			", summary=" + summary +
			"}";
	}
}
